#ifndef _GUI_WNDMANAGER_H
#define _GUI_WNDMANAGER_H

class QWidget;

namespace WndManager {

enum WndNo {
	kWndMainMenu = 1,
	kWndLoadProgramWnd,
	kWndProgramWnd,
	kWndDetailWnd,
	kWndSaveFileWnd,
	kWndMeasMenu
};

const int kMaxWndWidth		= 800;
const int kMaxWndHeight		= 480;

const int kEdgePadding		= 20;

const int kTableRows		= 10;

const int kGeneralFontSize	= 24;
const int kTableFontSize	= 16;

const int kContextMenuWidth	= 600;

extern const char *kDefaultFont;

// Adjust current-actived window's style, according to target platform
void AdjustWndStyle(QWidget *widget);

// Create & show specific window, then destory old window
void gotoWnd(WndNo wndNo, int item_index = 0);

} // namespace WndManager

#endif // _GUI_WNDMANAGER_H
